package com._21cn.cms.yellow.service;

import com._21cn.cms.yellow.dao.YellowPageCateDao;
import com._21cn.cms.yellow.entity.YellowPageCate;
import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor={Exception.class})
@Service("yellowPageCateService")
public class YellowPageCateService extends BaseServiceImpl<YellowPageCate>
{

    @Autowired
    private YellowPageCateDao yellowPageCateDao;

    protected BaseDao<YellowPageCate> getBaseDao()
    {
        return this.yellowPageCateDao;
    }
}